﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Class
{
    class Program
    {
        static void Main(string[] args)
        {
            student s = new student();


            s.Id = 123;
            s.Name = "张三";
            s.Sex = "男";
            s.cardid = "2021";
            s.Tel = "110";
            s.Major = "软件工程";
            s.Grade = "软件二班";
            s.say();


            teacher t = new teacher();
            t.Id = 111;
            t.Name = "曹操";
            t.Sex = "男";
            t.cardid = "148";
            t.Tel = "13838438";
            t.Tital = "高级教师";
            t.Wageno = "147423";



            t.say();
        }
    }
}
